<%@ page import="java.util.Date" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%--注解标签--%>
<%--声明标签--%>
<%!
    int i = 10;
%>
<%--代码标签--%>
<%
    int a = 100;
    for (int j = 0; j < 1; j++) {

    }
%>
<%--表达式标签--%>
<%=new Date() %>

<%
    request.setAttribute("myName","xueyin");

%>
<%=request.getAttribute("myName")%>

</body>
</html>
